package com.jiyongjun.bms.base.module.menu.entity;

import com.jiyongjun.bms.base.common.core.BaseEntity;
import com.jiyongjun.bms.base.common.core.BaseQueryModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <h2>系统菜单表(Menu)查询条件模型</h2>
 * 描述:
 *
 * @author 冀大侠
 * @since 1.0 2019-06-01 22:21:11
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class MenuQueryModel extends BaseQueryModel {
    /** 菜单名称 */
    private String menuName;
    /** 上级菜单id */
    private Long pid;
    /** 链接 */
    private String url;
    /** 顺序 */
    private Integer sequence;
    /** icon图标 */
    private String icon;
    /** 权限 */
    private String permission;
    /** 菜单类型 */
    private Short menuType;

    @Override
    public Class<? extends BaseEntity> getEntityClass() {
        return MenuEntity.class;
    }
}